<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <script type="text/javascript" src="/resources/easyui/jquery.min.js"></script>
</head>
<body>

要生成的URL：<input type="text" id="url" style="width: 100%;"/><br/>
<input type="button" value="查看" id="shengcheng"/><br/>
生成后的URL：<input type="text" id="show" style="width: 100%;"/>
</body>
</html>
<script type="text/javascript">
    $(function () {
        $("#shengcheng").click(function () {
            var url = $("#url").val();
            $.post("/doCreate", {url: url}, function (data) {
                $("#show").val("http://" + window.location.host + "/jump?uuid=" + data);
                $("#show").select();
            });
        });
    });
</script>